package com.chenbei.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chenbei.erp.domain.Supplier;
import com.chenbei.erp.vo.req.SupplierReq;
import org.apache.ibatis.annotations.Param;

public interface SupplierMapper extends BaseMapper<Supplier> {

    Page<Supplier> pageList(Page<Supplier> page, @Param("wheres")SupplierReq req);

    Supplier getById(@Param("id") Long id);
}
